package com.hskn.hss.module.carTrack.vo;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.hskn.hss.module.alarmcar.entity.AlarmCar;
import com.hskn.hss.module.carTrack.entity.CarTrack;
import com.hskn.hss.module.carviolation.entity.CarViolation;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = false)
public class OrderByAlarmAndViolationCar {
    /**
     * id
     */
    @ApiModelProperty(value = "id", name = "id")
    private String id;
    /**
     * 地址
     */
    @ApiModelProperty(value = "地址", name = "address")
    private String address;
    /**
     * 报警时间或者违规时间
     */
    @ApiModelProperty(value = "报警时间或者违规时间", name = "time")
    private Date time;
    /**
     * 车牌号
     */
    @ApiModelProperty(value = "车牌号", name = "carNumber")
    private String carNumber;
    /**
     * 报警和违规内容
     */
    @ApiModelProperty(value = "报警和违规内容", name = "content")
    private String content;
    /**
     * 报警和违规类型名称
     */
    @ApiModelProperty(value = "报警和违规类型名称", name = "typeName")
    private String typeName;
    /**
     * 报警违规信息 1 报警  2 其他违规  3车辆停留违规
     */
    @ApiModelProperty(value = "报警违规信息 1:报警  2:其他违规  3:车辆停留违规", name = "messageType")
    private Integer messageType;

    /**
     * 报警违规 开始时间
     */
    @ApiModelProperty(value = "报警违规 开始时间", name = "startTime")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startTime;

    /**
     * 报警违规 结束时间
     */
    @ApiModelProperty(value = "报警违规 结束时间", name = "endTime")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endTime;
    /**
     * 经度
     */
    @ApiModelProperty(value = "经度", name = "lng")
    private String lng;
    /**
     * 纬度
     */
    @ApiModelProperty(value = "纬度", name = "lat")
    private String lat;
    /**
     * 报警集合
     */
    @ApiModelProperty(value = "报警集合-->CarTrackVo", name = "dangerList")
    private List<CarTrackVo> dangerList;
    /**
     * 停留违规集合
     */
    @ApiModelProperty(value = "停留违规集合-->CarTrackVo", name = "warningStayList")
    private List<CarTrackVo> warningStayList;
    /**
     * 其他违规集合
     */
    @ApiModelProperty(value = "其他违规集合-->CarTrackVo", name = "otherWarningList")
    private List<CarTrackVo> otherWarningList;
}
